<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>restful 测试</h1>
	<form action="user" method="post">
		<input type="hidden" name="method" value="PUT">
		<input type="submit" value="增加" />
	</form>
	
	<h1>restful delete 测试</h1>
	<form action="user/1001" method="post">
		<input type="hidden" name="method" value="DELETE">
		<input type="submit" value="删除" />
	</form>
	
	<h1>restful update 测试</h1>
	<form action="user/1001" method="post">
		<input type="submit" value="修改" />
	</form>
	
	<h1>restful 查询所有 测试</h1>
	<form action="user" method="get">
		<input type="submit" value="查询所有" />
	</form>
	
	<h1>restful 查询一个 测试</h1>
	<form action="user/1001" method="get">
		<input type="submit" value="查询一个" />
	</form>
</body>
</html>